using Microsoft.EntityFrameworkCore;
using MvcDemo.Models;

namespace MvcDemo.Db
{
    public class Dbsoft : DbContext{
        protected override void OnConfiguring(DbContextOptionsBuilder builder){
                var _string ="server=.;database=Student;uid=sa;pwd=123456";
                builder.UseSqlServer(_string);
        }
        public DbSet<Student> Student{get;set;}
    }
}